﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CookComputing.XmlRpc;

namespace VH.SharePoint.Api.MetaWeblog
{
    public class Category
    {
        [XmlRpcMember("categoryId", Description = "Category identifier")]
        public String Id { get; set; }

        [XmlRpcMember("parentId", Description = "Parent Category identifier")]
        public String ParentId { get; set; }

        [XmlRpcMember("categoryName", Description = "Category Name")]
        public String Name { get; set; }

        [XmlRpcMember("categoryDescription", Description = "Name of the category, equivalent to categoryName")]
        public String Description { get; set; }

        [XmlRpcMember("htmlUrl", Description = "Not used")]
        public String HtmlUrl { get; set; }

        [XmlRpcMember("rssUrl", Description = "Not used")]
        public String RssUrl { get; set; }

        [XmlRpcMember("isPrimary", Description = "Not used")]
        public String IsPrimary { get; set; }
    }
}
